package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.PriceToppingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.PriceToppingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.PriceTopSingleFact;

public class PriceToppingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<PriceToppingEvent, PriceTopSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<PriceToppingEvent, PriceTopSingleFact> 
	            getCreator( List<PriceTopSingleFact> dataItems) {
		return new PriceToppingMessageCreator(dataItems);
	}

}